home *** CD-ROM | disk | FTP | other *** search
- this.shown = false;
- stop();
- arrZoomAreas = ["London","West Midlands","Merseyside","Greater Manchester"];
- var arrZoomed;
- showZoom = function(nm)
- {
- gotoAndStop("l_fade");
- play();
- mask_btn.useHandCursor = false;
- nmMap = nm;
- };
- onFadeEnd = function()
- {
- function()
- {
- LEAmap.oBroadcaster.broadcastMessage("onHideDetailMap");
- var mc = eval("LEAmap.map_mc.z_" + nmMap + "_mc");
- LEAmap.setSelectedLEA(mc);
- LEAmap.showRollover(LEAmap.map_mc.arrZooms[nmMap],mc);
- }
- gotoAndStop("l_" + nmMap);
- close_btn;
- "onRelease";
- };
- makeButtons = function(mc)
- {
- var _loc3_ = mc;
- var _loc2_ = arrZoomed.length;
- var _loc1_ = 1;
- while(_loc1_ <= _loc2_)
- {
- _loc3_["z_" + _loc1_ + "_mc"].__proto__ = mcZoom.prototype;
- _loc1_ = _loc1_ + 1;
- }
- };
- mcZoom = function()
- {
- return this;
- };
- mcZoom.prototype = new LEAmap.mcRollover();
- mcZoom.prototype.onRollOver = function()
- {
- LEAmap.showRollover(arrZoomed[this.nmIndex - 1],this);
- };
- mcZoom.prototype.onRelease = function()
- {
- LEAmap.setLEA(arrZoomed[this.nmIndex - 1],this.nmIndex);
- };
-